package com.wonders.common.parse.jaxb.handler;

import java.io.IOException;
import java.io.Writer;

import org.springframework.stereotype.Component;

import com.sun.xml.bind.marshaller.CharacterEscapeHandler;

/**
 * 字符忽略处理者
 * 
 * @author WuBin
 * 
 */
@Component
public class SimpleCharacterEscapeHandler implements CharacterEscapeHandler {

	public void escape(char[] ac, int i, int j, boolean flag, Writer writer)
			throws IOException {
		writer.write(ac, i, j);
	}
}
